package com.lekang.le.mapper;

import java.util.List;
import com.lekang.le.domain.PrepaymentRecharge;
import org.apache.ibatis.annotations.Mapper;

/**
 * 预存款充值Mapper接口
 * 
 * @author yyh
 * @date 2025-10-14
 */
@Mapper
public interface PrepaymentRechargeMapper 
{
    /**
     * 查询预存款充值
     * 
     * @param id 预存款充值主键
     * @return 预存款充值
     */
    public PrepaymentRecharge selectPrepaymentRechargeById(Long id);

    /**
     * 查询预存款充值列表
     * 
     * @param prepaymentRecharge 预存款充值
     * @return 预存款充值集合
     */
    public List<PrepaymentRecharge> selectPrepaymentRechargeList(PrepaymentRecharge prepaymentRecharge);

    /**
     * 新增预存款充值
     * 
     * @param prepaymentRecharge 预存款充值
     * @return 结果
     */
    public int insertPrepaymentRecharge(PrepaymentRecharge prepaymentRecharge);

    /**
     * 修改预存款充值
     * 
     * @param prepaymentRecharge 预存款充值
     * @return 结果
     */
    public int updatePrepaymentRecharge(PrepaymentRecharge prepaymentRecharge);

    /**
     * 删除预存款充值
     * 
     * @param id 预存款充值主键
     * @return 结果
     */
    public int deletePrepaymentRechargeById(Long id);

    /**
     * 批量删除预存款充值
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePrepaymentRechargeByIds(Long[] ids);
}
